Closure Exposure: A JavaScript Scope Trick - Simon Ince's Blog ... 4 Jan 2010 ... First of all, understand that JavaScript doesn't have "block scope" like ... to profile this event handler shows as "Jscript – window script block".